/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package infoplaces2;

import java.awt.image.RenderedImage;
import org.w3c.dom.css.RGBColor;

/**
 *
 * @author Andre Alvarado
 */
public abstract class PanoramicImage {
    
//    PanoramicImage(images: RenderedImage[])
//    fetch(x: double, y: double, z: double): RGBColor
//    fetch(azimuth: double, zenith: double): RGBColor
//    getImage(index: int)
//    imageCount(): int
    protected RenderedImage[] images;
    
    protected PanoramicImage(RenderedImage[] images){
        this.images = images;
    }
    
    public int fetch (double x, double y, double z){
        return 0;
    }
    
    public int fetch (double azimuth, double zenith){
        return 0;
    }
    
    public RenderedImage getImage(int index){
        return images[index];
    }
    
    public int imageCount(){ //não tem parametro?
        return images.length;
    }
    
}
